pp108 : Examples of Replace XML as String

Examples of Replace XML as String

This topic provides exampes for the operation type - .

Replace XML as String with Select

Target Element before Message Mapping

Source Element

Target Element after Message Mapping

The Target element is /GetNotificationTaskInput/GetNotificationTask/Task and the XML structure of the Target element before mapping the message is as follows:

<GetNotificationTaskInput>
    <GetNotificationTask>
        <Header>cn=jdoe,cn=authenticated users, 
        cn=cordys,
        o=vanenburg.com</Header>
        <Task>Dummy Task</Task>
    </GetNotificationTask>
</GetNotificationTaskInput>

The Source element is Address/registeredAddress and the XML structure of the Source element is as follows:

<Address>
    <registeredAddress>
        <string>Winrock Boulevard, 
        Software Units Layout, 
        Freemont CA - 87757 
        USA</string>
    </registeredAddress>
</Address>
<GetNotificationTaskInput>
    <GetNotificationTask>
        <Header>cn=jdoe,cn=authenticated users, 
        cn=cordys,
        o=vanenburg.com</Header>
        <Task>
            <Address>
                <registeredAddress>
                    <string>Winrock Boulevard, 
                    Software Units Layout, 
                    Freemont CA 87757 
                    USA</string>
                </registeredAddress>
            </Address>
        </Task>
    </GetNotificationTask>
</GetNotificationTaskInput>

Related concepts

Pre Assignments
Post Assignments

Related tasks

Creating Assignments

Related reference

Operation Types
Examples of Add
Examples of Add XML as String
Examples of Delete
Examples of Replace Content With
Examples of Replace With